package com.xiaoshuidi.cloud.module.member.convert.securitycheckprogram;

import java.util.*;

import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;

import com.xiaoshuidi.cloud.module.member.pojo.securitycheckprogram.SecurityCheckProgram;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.xiaoshuidi.cloud.module.member.controller.admin.securitycheckprogram.vo.*;

/**
 * 安全检查项目 Convert
 *
 * @author hans.zhang
 */
@Mapper
public interface SecurityCheckProgramConvert {

    SecurityCheckProgramConvert INSTANCE = Mappers.getMapper(SecurityCheckProgramConvert.class);

    SecurityCheckProgram convert(SecurityCheckProgramCreateReqVO bean);

    SecurityCheckProgram convert(SecurityCheckProgramUpdateReqVO bean);

    SecurityCheckProgramRespVO convert(SecurityCheckProgram bean);

    List<SecurityCheckProgramRespVO> convertList(List<SecurityCheckProgram> list);

    PageResult<SecurityCheckProgramRespVO> convertPage(PageResult<SecurityCheckProgram> page);

    List<SecurityCheckProgramExcelVO> convertList02(List<SecurityCheckProgram> list);

    List<GetMyProgramRespVO> convert(List<SecurityCheckProgram> securityCheckPrograms);
}
